<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/favicon.ico">

    <title>XDL网站后台管理</title>

    <!-- Bootstrap core CSS -->
    <link href="{{asset('admin/css/bootstrap.min.css')}}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="{{asset('admin/css/login.css')}}" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="{{asset('admin/js/ie8-responsive-file-warning.js')}}"></script><![endif]-->
    <script src="{{asset('admin/js/ie-emulation-modes-warning.js')}}"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="{{asset('admin/js/html5shiv.min.js')}}"></script>
      <script src="{{asset('admin/js/respond.min.js')}}"></script>
    <![endif]-->
  </head>

  <body>

    <div class="container">

      <form action="{{URL('admin/login')}}" method="post" class="form-signin">
        <input type="hidden" name="_token" value="{{csrf_token()}}">
        <h2 class="form-signin-heading">XDL网站后台登陆</h2><br/>
        <label for="inputEmail" class="sr-only">账号：</label>
        <input type="text" id="inputEmail" name="name" class="form-control" placeholder="请输入账号" required autofocus><br/>
        <label for="inputPassword" class="sr-only">密码：</label>
        <input type="password" id="inputPassword" name="password" class="form-control" placeholder="请输入密码" required><br/>
        
        <button class="btn btn-lg btn-primary btn-block" type="submit">登 陆</button>
        <div>
          @if(session("msg"))
               <span style="color:red">{{session("msg")}}</span>
          @endif
         </div>
      </form>
      
    </div> <!-- /container -->


    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="{{asset('admin/js/ie10-viewport-bug-workaround.js')}}"></script>
  </body>
</html>
